home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / std / c++ / 372 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  2.3 KB

  1. From: kanze@gabi.gabi-soft.fr (J. Kanze)
  2. Message-ID: <KANZE.96Feb9173036@gabi.gabi-soft.fr>
  3. X-Original-Date: 09 Feb 1996 16:30:36 GMT
  4. Path: in2.uu.net!bounce-back
  5. Date: 10 Feb 96 09:11:02 GMT
  6. Approved: fjh@cs.mu.oz.au
  7. Newsgroups: comp.std.c++
  8. Subject: Re: Are all Windows programs ill-formed?
  9. Organization: GABI Software, Sarl.
  10. References: <AE5J83na99@qsar.chem.msu.su> <9602010236.26117@mulga.cs.mu.OZ.AU>
  11.     <9602021032.AA05302@lts.sel.alcatel.de>
  12.     <311417C8.4016@suphys.physics.su.oz.au>
  13. In-Reply-To: John Max Skaller's message of 05 Feb 1996 09:26:48 PST
  14. X-Auth: PGPMoose V1.1 PGP comp.std.c++
  15.     iQBFAgUBMRxhM+EDnX0m9pzZAQErsgF/bWWSZ0M1+SN7zlSEZUxlF84AFwjngqcS
  16.     HEl/H6v58UcY1JPBz7jzEmpo19Z9VoEc
  17.     =hlCV
  18.  
  19. In article <311417C8.4016@suphys.physics.su.oz.au> John Max Skaller
  20. <maxtal@suphys.physics.su.oz.au> writes:
  21.  
  22. > James Kanze US/ESC 60/3/141 #40763 wrote:
  23. > > I believe that the simple answer is that Windows programs operate in a
  24. > > unhosted environment.  
  25. >     This is a clear condemnation of the Standard,
  26. > Windows is obviously a hosting operating system.
  27.  
  28. Not necessarily in terms of the standard.  The standard defines what a
  29. hosted environment must provide.  If Windows doesn't provide it, then it
  30. is not a hosted environment.
  31.  
  32. > > |> But if a compiler does not accept
  33. > > 
  34. > > |>      int main() { return 0; }
  35. > > 
  36. > > |> as a complete program, then that compiler is not a conforming C or C++
  37. > > |> implementation.
  38.  
  39. > This is the crux of the problem. More important, when I
  40. > try to use "cout" the program won't link.
  41.  
  42. An unhosted environment does not have to provide cout.  I suspect that
  43. most won't.
  44.  
  45. If there is not a way to get the above program to compile, link and
  46. execute, however, then I will have to take back my defense of Microsoft
  47. in previous postings.  I find this hard to believe, however.
  48. -- 
  49. James Kanze           (+33) 88 14 49 00          email: kanze@gabi-soft.fr
  50. GABI Software, Sarl., 8 rue des Francs Bourgeois, 67000 Strasbourg, France
  51. Conseils, itudes et rialisations en logiciel orienti objet --
  52.               -- A la recherche d'une activiti dans une region francophone
  53. ---
  54. [ comp.std.c++ is moderated.  Submission address: std-c++@ncar.ucar.edu.
  55.   Contact address: std-c++-request@ncar.ucar.edu.  Moderation policy:
  56.   http://reality.sgi.com/employees/austern_mti/std-c++/policy.html. ]
  57.